package com.dxc.intern.mapper;

import com.dxc.intern.entity.PrimaryScreening;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dxc.intern.entity.Resume;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 初筛数据表 Mapper 接口
 * </p>
 *
 * @author zhangchengming
 * @since 2022-02-21
 */
@Mapper
public interface PrimaryScreeningMapper extends BaseMapper<PrimaryScreening> {
    List<Resume> page(int index, int size);
    int count();

    List<Resume> selectLike(int index, int size,@Param("resume") Resume resume);
    int delete(Long id);
    int update(Resume resume);
    int addRoster(@Param("resume")Resume resume);
}
